<%@page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String url = basePath + "member_";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<%=basePath%>public/css/bootstrap.min.css">
<link rel="stylesheet" href="<%=basePath%>public/css/common.css">
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>public/css/loading.css">
<script src="<%=basePath%>public/js/jquery-2.1.4.min.js"></script>
<script src="<%=basePath%>public/js/bootstrap.min.js"></script>
<script type="text/javascript"
	src="<%=basePath%>public/js/my_loading.js"></script>
<script type="text/javascript">
$(function (){
	$("a").click(function (){
		$("#loadingDialog").css("display", "block");
	});
});
</script>
</head>
<body>
	<ol class="breadcrumb">
		<li><a href="#">群组管理</a></li>
		<li class="active">群成员编辑</li>
	</ol>
	<div class="panelBox">
		<div class="title"></div>
		<div class="form">
			<form class="form-horizontal" role="form" action="<%=url%>save"
				method="post">
				<input type="hidden" name="member.id" value="${member.id}" /> <input
					type="hidden" name="member.checkTime" value="${member.checkTime}" />
				<input type="hidden" name="member.joinTime"
					value="${member.joinTime}" /> <input type="hidden"
					name="member.remark" value="${member.remark}" />
				<div class="form-group">
					<label for="firstname1" class="col-sm-2 control-label">群Id</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="firstname1"
							readonly="readonly" name="groupId" value="${member.group.sqlId}">
					</div>
				</div>
				<div class="form-group">
					<label for="name" class="col-sm-2 control-label"><span
						id="check"></span>用户Id</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="name"
							readonly="readonly" name="userId" value="${member.user.id}">
					</div>
				</div>
				<div class="form-group">
					<label for="firstname3" class="col-sm-2 control-label">状态</label>
					<div class="col-sm-10">
						<select id="firstname3" name="member.states" class="form-control"
							value="${member.states}">
							<option value="未审核">未审核</option>
							<option value="不通过">不通过</option>
							<option value="通过">通过</option>
						</select>
					</div>
				</div>
				<div class="form-group">
					<label for="firstname3" class="col-sm-2 control-label"><span
						id="check"></span>状态说明</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" maxlength="11"
							id="firstname4" placeholder="请输入状态说明"
							name="member.statesIntroduce" value="${member.statesIntroduce}">
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="submit" class="btn btn-primary btn-sm">提交</button>
						<button type="button" style="margin-left: 20px;"
							onclick="javascript:history.go(-1);"
							class="btn btn-default btn-sm">返回</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>